<?xml version="1.0" encoding="UTF-8"?>
<persistence version="2.1" xmlns="http://xmlns.jcp.org/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd">
	<persistence-unit name="persistenceUnit">
	
	<provider>org.hibernate.ejb.HibernatePersistence</provider>
	
	<class>com.ericsson.eritask.domain.Project</class>
	<class>com.ericsson.eritask.domain.Reminder</class>
	<class>com.ericsson.eritask.domain.Role</class>
	<class>com.ericsson.eritask.domain.Task</class>
	<class>com.ericsson.eritask.domain.User</class>
	<class>com.ericsson.eritask.domain.UserProject</class>
	<class>com.ericsson.eritask.domain.UserRole</class>
	<class>com.ericsson.eritask.domain.UserTask</class>
	
	
	<properties>
            <property name="javax.persistence.jdbc.driver" value="com.mysql.jdbc.Driver" />
            <property name="javax.persistence.jdbc.url" value="jdbc:mysql://localhost:3306/taskDB" />
            <property name="javax.persistence.jdbc.user" value="root" />
            <property name="javax.persistence.jdbc.password" value="root" />

            <property name="hibernate.dialect" value="org.hibernate.dialect.MySQLDialect" />
            <property name="hibernate.show_sql" value="true" />
            <property name="hibernate.hbm2ddl.auto" value="update" /> 
        </properties>
	
	
	
	</persistence-unit>
	
	
</persistence>
